package com.pzb.wechat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 微信支付记录对象 wechat_notify
 * 
 * @author Mr_Wu
 * @date 2022-03-01
 */
public class WechatNotify implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    private String transactionId;

    private String nonceStr;

    private String bankType;

    private String openid;

    private String mchId;

    private String sign;

    private String feeType;

    private Integer cashFee;

    private String outTradeNo;

    private String appid;

    private Integer totalFee;

    private String tradeType;

    private Long timeEnd;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTransactionId(String transactionId) 
    {
        this.transactionId = transactionId;
    }

    public String getTransactionId() 
    {
        return transactionId;
    }
    public void setNonceStr(String nonceStr) 
    {
        this.nonceStr = nonceStr;
    }

    public String getNonceStr() 
    {
        return nonceStr;
    }
    public void setBankType(String bankType) 
    {
        this.bankType = bankType;
    }

    public String getBankType() 
    {
        return bankType;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setSign(String sign) 
    {
        this.sign = sign;
    }

    public String getSign() 
    {
        return sign;
    }
    public void setFeeType(String feeType) 
    {
        this.feeType = feeType;
    }

    public String getFeeType() 
    {
        return feeType;
    }
    public void setCashFee(Integer cashFee) 
    {
        this.cashFee = cashFee;
    }

    public Integer getCashFee() 
    {
        return cashFee;
    }
    public void setOutTradeNo(String outTradeNo) 
    {
        this.outTradeNo = outTradeNo;
    }

    public String getOutTradeNo() 
    {
        return outTradeNo;
    }
    public void setAppid(String appid) 
    {
        this.appid = appid;
    }

    public String getAppid() 
    {
        return appid;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public void setTotalFee(Integer totalFee)
    {
        this.totalFee = totalFee;
    }

    public Integer getTotalFee() 
    {
        return totalFee;
    }
    public void setTradeType(String tradeType) 
    {
        this.tradeType = tradeType;
    }

    public String getTradeType() 
    {
        return tradeType;
    }
    public void setTimeEnd(Long timeEnd) 
    {
        this.timeEnd = timeEnd;
    }

    public Long getTimeEnd() 
    {
        return timeEnd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("transactionId", getTransactionId())
            .append("nonceStr", getNonceStr())
            .append("bankType", getBankType())
            .append("openid", getOpenid())
            .append("sign", getSign())
            .append("feeType", getFeeType())
            .append("cashFee", getCashFee())
            .append("outTradeNo", getOutTradeNo())
            .append("appid", getAppid())
            .append("totalFee", getTotalFee())
            .append("tradeType", getTradeType())
            .append("timeEnd", getTimeEnd())
            .toString();
    }
}
